package com.example.provider.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p></p>
 *
 * @author Shad0ws
 * @createTime
 * @update
 */
@RestController
@RequestMapping("/provider")
public class ProviderController {

	@RequestMapping(value = "/echo/{str}", method = RequestMethod.GET)
	public String echo(@PathVariable String str) {
		return "Hello Nacos Discovery:" + str;
	}
}